FROM alpine

RUN apk update && \
  apk add g++ make wget curl bash git openssh rsync augeas
RUN mkdir -p /root/.ssh/
COPY ~/.ssh/id_rsa.pub  /root/.ssh/authorized_keys
RUN rm -rf /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_dsa_key
RUN ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
RUN ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa
RUN ssh-keygen -t dsa -f /etc/ssh/ssh_host_ecdsa_key -N '' 
RUN ssh-keygen -t dsa -f /etc/ssh/ssh_host_ed25519_key -N ''


